package com.education.wisdom.pojo;

import com.education.common.core.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 试题表 ms_questions
 * 
 * @author ruoyi
 * @date 2018-12-17
 */
public class MsQuestions extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 试题编号 */
	private String stId;
	/** 试卷内容 */
	private String stContent;
	/** 试题选项A */
	private String stSelecta;
	/** 试题选项B */
	private String stSelectb;
	/** 试题选项C */
	private String stSelectc;
	/** 试题选项D */
	private String stSelectd;
	/** 正确答案 */
	private String stAnswer;
	/** 考试分数 */
	private BigDecimal stScore;
	/** 删除状态 1删除 */
	private String delFlag;
	/** 类型 1 简单 2 中等 3困难 */
	private String stType;
	/** 创建人 */
	private String stCteater;
	/** 创建时间 */
	private Date createTime;
	/** 试卷是否存在此试题标识 默认不存在 */
	private boolean flag = false;
	/** 主观题解析 */
	private String stRemark;
	private String stState;

	/** 错误答案 */
	private String errorAnswer;
	/** 学生答案 */
	private String answer;
	/** 教师答复 */
	private String teaAnswer;

	private  String comment;

	public String getErrorAnswer() {
		return errorAnswer;
	}

	public void setErrorAnswer(String errorAnswer) {
		this.errorAnswer = errorAnswer;
	}

	public String getStState() {
		return stState;
	}

	public void setStState(String stState) {
		this.stState = stState;
	}

	public String getStRemark() {
		return stRemark;
	}

	public void setStRemark(String stRemark) {
		this.stRemark = stRemark;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setStId(String stId) 
	{
		this.stId = stId;
	}

	public String getStId() 
	{
		return stId;
	}
	public void setStContent(String stContent) 
	{
		this.stContent = stContent;
	}

	public String getStContent() 
	{
		return stContent;
	}
	public void setStSelecta(String stSelecta) 
	{
		this.stSelecta = stSelecta;
	}

	public String getStSelecta() 
	{
		return stSelecta;
	}
	public void setStSelectb(String stSelectb) 
	{
		this.stSelectb = stSelectb;
	}

	public String getStSelectb() 
	{
		return stSelectb;
	}
	public void setStSelectc(String stSelectc) 
	{
		this.stSelectc = stSelectc;
	}

	public String getStSelectc() 
	{
		return stSelectc;
	}
	public void setStSelectd(String stSelectd) 
	{
		this.stSelectd = stSelectd;
	}

	public String getStSelectd() 
	{
		return stSelectd;
	}
	public void setStAnswer(String stAnswer) 
	{
		this.stAnswer = stAnswer;
	}

	public String getStAnswer() 
	{
		return stAnswer;
	}
	public void setStScore(BigDecimal stScore) 
	{
		this.stScore = stScore;
	}

	public BigDecimal getStScore() 
	{
		return stScore;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}
	public void setStType(String stType) 
	{
		this.stType = stType;
	}

	public String getStType() 
	{
		return stType;
	}
	public void setStCteater(String stCteater) 
	{
		this.stCteater = stCteater;
	}

	public String getStCteater() 
	{
		return stCteater;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public String getTeaAnswer() {
		return teaAnswer;
	}

	public void setTeaAnswer(String teaAnswer) {
		this.teaAnswer = teaAnswer;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stId", getStId())
            .append("stContent", getStContent())
            .append("stSelecta", getStSelecta())
            .append("stSelectb", getStSelectb())
            .append("stSelectc", getStSelectc())
            .append("stSelectd", getStSelectd())
            .append("stAnswer", getStAnswer())
            .append("stScore", getStScore())
            .append("delFlag", getDelFlag())
            .append("stType", getStType())
            .append("stCteater", getStCteater())
            .append("createTime", getCreateTime())
            .toString();
    }
}
